package org.leslie.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.leslie.pojo.User;

@Mapper
public interface UserMapper {
    String sql = "select * from user where id = #{id}";
    @Select(sql)
    public User findById(Integer id);
}
